package com.cloud.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 韩先楚
 */
@SpringBootApplication
@EnableDiscoveryClient  // 开启服务发现,获取其他服务的信息
public class ProductApplication01 {
    public static void main(String[] args) {
        new SpringApplication(ProductApplication01.class).run(args);
    }
}
